package com.mutouren.modules.datapush.strategy;

import com.mutouren.modules.datapush.config.ConcurrentStrategyConfig;

public class RemoteConcurrentStrategyManager extends ConcurrentStrategyManager {

	public ConcurrentStrategy getConcurrentStrategy(String methodAlias) {
		//return super.getConcurrentStrategy(methodAlias);
		return ConcurrentStrategyConfig.getConcurrentStrategy(methodAlias);
	}
	
	public void addConcurrentStrategy(ConcurrentStrategy strategy) {
		throw new IllegalArgumentException("in remote mode, not permit add addConcurrentStrategy");
	}
}
